﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Golf.WebUI.UserControl
{
    public partial class ToolbarContainer : System.Web.UI.UserControl
    {
        /// <summary>
        /// 
        /// </summary>
        public string http_Host = "";
        protected void Page_Load(object sender, EventArgs e)
        {
            http_Host = ThumNail.GetHttpHost();
            if (!Page.IsPostBack)
            {
                Bind_Type();
            }
        }
        /// <summary>
        /// 绑定类型  高尔夫俱乐部类型
        /// </summary>
        public void Bind_Type()
        {
            Golf.BLL.Golf_ProductType bll = new Golf.BLL.Golf_ProductType();
            DataSet ds = bll.GetList("ParentId=1");
            rep_Type.DataSource = ds;
            rep_Type.DataBind();
        }
    }
}